//
//  TraceModel.h
//  CarLifes
//
//  Created by yu on 2017/8/23.
//  Copyright © 2017年 jpas. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface TraceModel : NSObject<MAAnnotation>

@property (nonatomic, copy) NSString *eqNo;
@property (nonatomic, copy) NSString *positionTime;
@property (nonatomic, copy) NSString *postType;
@property (nonatomic, copy) NSString *gdLat;
@property (nonatomic, copy) NSString *gdLng;
@property (nonatomic, copy) NSString *dir;
@property (nonatomic, copy) NSString *speed;
@property (nonatomic, copy) NSString *status;

@property (nonatomic, copy) NSString *cnStatus;// 设备状态
@property (nonatomic, copy) NSString *address;// 逆地理地址
@property (nonatomic, copy) NSString *ownerName;// 车主姓名

// 重写MAAnnotation的coordinate属性，用来存储经纬度
@property (nonatomic, assign) CLLocationCoordinate2D coordinate;
// 重写MAAnnotation的title属性，并赋值，否则didSelected方法(百度地图是这样)不执行
@property (nonatomic, copy) NSString *title;

@end
